#include <HttpClient.h>
void setup()  
{ 
   Serial.begin(9600);
}

void loop() 
{
    // Initialize the client library
  HttpClient client;
    // Make a HTTP request: 主要程序逻辑可以放在服务器处理和分析。esp轮询获取结果即可
  client.get("http://easyprint.vip:9090/api/dingtalk/v1/notice?msg==esp82662");

  // if there are incoming bytes available
  // from the server, read them and print them:
  while (client.available()) {
    char c = client.read();
    Serial.println(c);
    delay(500);
  }
//  循环执行即可。 坐35分钟，站立15分钟。
   Serial.println("sit down!"); 
//   delay(35*60*1000);
   Serial.println("stand up!"); 
  // delay(15*60*1000);
    delay(5);
}
